ACFWF\Models\BOGO_Deals S

Total Complexity 30
Dependencies 3
Dependents 1
Total lines 467
Lines of code 103
Logical lines of code 46
Comment lines 293
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
get_instance()
S
70 2 6
_deprecated()
S
74 2 4
__construct()
S
81 1 3
initialize()
S
80 1 3
_unset_coupon_quantity_entries()
S
81 1 3
calculate_cart_item_spare_quantity()
S
77 1 4
get_item_quantity_entries()
S
77 1 4
add_item_quantities_entry()
S
81 1 3
is_item_valid()
S
75 1 4
get_price_display()
S
77 1 4
isset_price_display()
S
77 1 4
set_price_display()
S
81 1 3
get_deals_data()
S
77 1 4
set_deals_prop()
S
81 1 3
create_apply_entry()
S
81 1 3
get_item_apply_entries()
S
77 1 4
get_needed_trigger_quantities()
S
77 1 4
get_item_trigger_entries()
S
77 1 4
create_trigger_entry()
S
81 1 3
ajax_clear_bogo_deals()
S
76 1 4
ajax_save_bogo_deals()
S
76 1 4
save_bogo_discounts_to_order()
S
81 1 3
display_bogo_discount_summary()
S
77 1 4
display_discounted_price()
S
77 1 4
calculate_concurrence()
S
77 1 4
implement_bogo_deals()
S
81 1 3
get_quantities_of_condition_products_in_cart()
S
77 1 4
run()
S
81 1 3